<!DOCTYPE html>
<html lang="en">
    <head>
        <title>{% block title %}Untitled Page{% endblock %} - Cronmon</title>
        <link rel="stylesheet" type="text/css" href="/assets/css/main.css">
        <script src="/assets/js/lib/prototype.js"></script>
        <script src="/assets/js/scriptaculous/scriptaculous.js"></script>
        {% block in_head %}{% endblock %}
    </head>
    <body>
        <h1><a href="/"><img src="/assets/images/cronmon.png" alt="CronMon"></a></h1>
        <ul id="menu">
            {% block menu %}
                <li><a href="{% url todays-messages %}">Today's Messages</a></li>
                <li><a href="{% url new-messages %}">Current Issues</a>
                    <ul>
                        <li><a href="{% url critical-messages %}">Critical only</a></li>
                        <li><a href="{% url warning-messages %}">Critical/Warning</a></li>
                    </ul>
                </li>
                <li><a href="{% url all-hosts %}">All hosts</a></li>
                <li><a href="{% url all-tags %}">All tags</a></li>
                {% if user.is_staff %}<li><a href="/admin/">Admin</a></li>{% endif %}
            {% endblock %}
        </ul>
        <div id="content">
            {% block content %}{% endblock %}
        </div>
    </body>
</html>
